package hx.front.game;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts2.interceptor.ServletRequestAware;
import org.apache.struts2.interceptor.SessionAware;

import com.opensymphony.xwork2.ActionSupport;

public class EspionageAction extends ActionSupport implements SessionAware,
		ServletRequestAware {

	private static final long serialVersionUID = -6583967004391807404L;
	private Map<String, Object> session;
	private HttpServletRequest servletRequest;

	@Override
	public String execute() throws Exception {
		loadCollections();
		return super.execute();
	}

	/**
	 * Carga las colecciones que se utilizarán en la página.
	 */
	private void loadCollections() {

	}

	@Override
	public void setSession(Map<String, Object> arg0) {
		session = arg0;
	}

	public Map<String, Object> getSession() {
		return session;
	}

	@Override
	public void setServletRequest(HttpServletRequest arg0) {
		servletRequest = arg0;
	}

	public HttpServletRequest getServletRequest() {
		return servletRequest;
	}

}
